package CouistotEnum;

public enum Priorite {
	BASSE ("BASSE"),
	NORMALE ("NORMALE"),
	HAUTE ("HAUTE");
	
	private final String name;       

    private Priorite(String s) {
        name = s;
    }

    public boolean equalsName(String otherName){
        return (otherName == null)? false:name.equals(otherName);
    }

    public String toString(){
       return name;
    }

}
